package com.shop.cereshop.app.dl.logic.service;

import com.github.pagehelper.PageInfo;
import com.shop.cereshop.app.dl.logic.domian.CareShopNews;
import com.shop.cereshop.app.dl.logic.utils.ResultInfo;
import org.springframework.stereotype.Service;

/**
 * @author: 况鑫威
 * @Date: 2021/6/15
 * @Time: 14:21
 * @ClassName: CareShopNewsService
 * @Description: com.shop.cereshop.business.dl.logic.service
 */
@Service
public interface CareShopNewsService {
    int deleteByPrimaryKey(Long newsId);

    int insert(CareShopNews record);

    int insertSelective(CareShopNews record);

    CareShopNews selectByPrimaryKey(Long newsId);

    int updateByPrimaryKeySelective(CareShopNews record);

    int updateByPrimaryKey(CareShopNews record);

    int delNews(Long... newsIds);

    PageInfo getNewsList(Long columnId, Integer page, Integer row);

    ResultInfo selectByColumn(Integer page, Integer row, Integer columnId, String content);
}
